package domain;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class orders {
	private Long id;
	private String order_no;
	private Long user_id;
	private Long address_id;
	private BigDecimal payment;//交易总金额
	private Long payment_type;
	private BigDecimal postage;
	private Long status;
	private Timestamp payment_time;
	private Timestamp send_time;
	private Timestamp end_time;
	private Timestamp close_time;
	private Timestamp create_time;
	private Timestamp update_time;
	public Long getId() {
		return id;
	}
	public String getOrder_no() {
		return order_no;
	}
	public Long getUser_id() {
		return user_id;
	}
	public Long getAddress_id() {
		return address_id;
	}
	public BigDecimal getPayment() {
		return payment;
	}
	public Long getPayment_type() {
		return payment_type;
	}
	public BigDecimal getPostage() {
		return postage;
	}
	public Long getStatus() {
		return status;
	}
	public Timestamp getPayment_time() {
		return payment_time;
	}
	public Timestamp getSend_time() {
		return send_time;
	}
	public Timestamp getEnd_time() {
		return end_time;
	}
	public Timestamp getClose_time() {
		return close_time;
	}
	public Timestamp getCreate_time() {
		return create_time;
	}
	public Timestamp getUpdate_time() {
		return update_time;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}
	public void setAddress_id(Long address_id) {
		this.address_id = address_id;
	}
	public void setPayment(BigDecimal payment) {
		this.payment = payment;
	}
	public void setPayment_type(Long payment_type) {
		this.payment_type = payment_type;
	}
	public void setPostage(BigDecimal postage) {
		this.postage = postage;
	}
	public void setStatus(Long status) {
		this.status = status;
	}
	public void setPayment_time(Timestamp payment_time) {
		this.payment_time = payment_time;
	}
	public void setSend_time(Timestamp send_time) {
		this.send_time = send_time;
	}
	public void setEnd_time(Timestamp end_time) {
		this.end_time = end_time;
	}
	public void setClose_time(Timestamp close_time) {
		this.close_time = close_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
	public void setUpdate_time(Timestamp update_time) {
		this.update_time = update_time;
	}
	@Override
	public String toString() {
		return "orders [id=" + id + ", order_no=" + order_no + ", user_id=" + user_id + ", address_id=" + address_id
				+ ", payment=" + payment + ", payment_type=" + payment_type + ", postage=" + postage + ", status="
				+ status + ", payment_time=" + payment_time + ", send_time=" + send_time + ", end_time=" + end_time
				+ ", close_time=" + close_time + ", create_time=" + create_time + ", update_time=" + update_time + "]";
	}
	

}
